
package piece;

public class PieceFactoryDriverTest {

	public static void main(String[] args) {
		
		// create a Marshal Piece for BLUE
		Piece marshal = Piece.createPiece(Piece.RANK_MARSHAL, Piece.COLOR_BLUE);
		// creat a Gerneral Piece for RED
		Piece gernaral = Piece.createPiece(Piece.RANK_GENERAL, Piece.COLOR_RED);
		// test the result the marshal attack gernaral
		System.out.println(marshal.attack(gernaral));
		
		
	}

}
